<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>NetworkManager</Name>
        <Homepage>http://projects.gnome.org/NetworkManager</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <IsA>app:console</IsA>
        <Summary>Network connection manager powered by D-Bus and UDEV</Summary>
        <Description>NetworkManager attempts to keep an active network connection available at all times.</Description>
        <Archive sha1sum="152845a0641f15b5aeba66ab523120d4ab93d4de" type="tarxz">https://download.gnome.org/sources/NetworkManager/1.8/NetworkManager-1.8.4.tar.xz</Archive>
        <AdditionalFiles>
            <AdditionalFile target="po/tr.po">tr.po</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>curl-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>dhclient</Dependency>
            <Dependency>dhcpcd</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>docbook-xsl</Dependency>
            <Dependency>autoconf</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>ppp-devel</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>newt-devel</Dependency>
            <Dependency>nspr-devel</Dependency>
            <Dependency>libnl-devel</Dependency>
            <Dependency>libsoup-devel</Dependency>
            <Dependency>bluez-libs-devel</Dependency>
            <Dependency>iptables-devel</Dependency>
            <Dependency>wpa_supplicant</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
            <Dependency>gobject-introspection</Dependency>
            <Dependency>libndp-devel</Dependency>
            <Dependency>libmm-glib-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>polkit-devel</Dependency>
            <Dependency>readline-devel</Dependency>
            <Dependency>libgudev-devel</Dependency>
            <Dependency>libutil-linux-devel</Dependency>
            <Dependency versionFrom="0.9.2">ConsoleKit-devel</Dependency>
            <Dependency>python-pygobject3-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
        </BuildDependencies>
        <Patches>
	  <!--<Patch>0001-dns-Fix-falling-back-in-the-resolv.conf-methods.patch</Patch>-->
            <!--Patch>0001-core-fix-failure-to-configure-routes-due-to-wrong-de.patch</Patch-->
            <!--Patch>disable_set_hostname.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>NetworkManager</Name>
        <RuntimeDependencies>
            <Dependency>curl</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>nspr</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>polkit</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>dbus-glib</Dependency>
            <Dependency>libutil-linux</Dependency>
            <Dependency>nss</Dependency>
            <Dependency>newt</Dependency>
            <Dependency>ppp</Dependency>
            <Dependency>libnl</Dependency>
            <Dependency>libsoup</Dependency>
            <Dependency>libgudev</Dependency>
            <Dependency>bluez-libs</Dependency>
            <Dependency>iproute2</Dependency>
            <Dependency>iptables</Dependency>
            <Dependency>libmm-glib</Dependency>
            <Dependency>ModemManager</Dependency>
            <Dependency>wpa_supplicant</Dependency>
            <Dependency>libndp</Dependency>
            <Dependency versionFrom="0.9.2">ConsoleKit</Dependency>
            <Dependency>mobile-broadband-provider-info</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="data">/etc/dbus-1</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/lib/udev</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="data">/run/NetworkManager</Path>
            <Path fileType="data">/lib/systemd/system</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/var/lib/NetworkManager</Path>
            <Path fileType="data">/etc/NetworkManager/system-connections</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/NetworkManager.conf</Path>
            <Path fileType="config">/etc/polkit-1/localauthority/10-vendor.d</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/NetworkManager">NetworkManager.confd</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/NetworkManager.conf">tmpfiles.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/NetworkManager/NetworkManager.conf">NetworkManager.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/sbin/migrate-comar-network-profiles">migrate-comar-network-profiles</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/polkit-1/localauthority/10-vendor.d/01-org.freedesktop.NetworkManager.settings.modify.system.pkla">gentoo/01-org.freedesktop.NetworkManager.settings.modify.system.pkla</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/polkit-1/rules.d/10-vendor.d/01-org.freedesktop.ModemManager1.rules">01-org.freedesktop.ModemManager1.rules</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/polkit-1/rules.d/10-vendor.d/01-org.freedesktop.NetworkManager.settings.modify.system.rules">01-org.freedesktop.NetworkManager.settings.modify.system.rules</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>NetworkManager-devel</Name>
        <Summary>Development files for NetworkManager</Summary>
        <RuntimeDependencies>
            <Dependency>glib2-devel</Dependency>
            <Dependency>dbus-glib-devel</Dependency>
            <Dependency release="current">NetworkManager</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig/</Path>
        </Files>
    </Package>

    <History>
        <Update release="8">
            <Date>2017-11-04</Date>
            <Version>1.8.4</Version>
            <Comment>Version Bump</Comment>
            <Requires>
                <Action package="NetworkManager">systemRestart</Action>
            </Requires>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-07-30</Date>
            <Version>1.8.2</Version>
            <Comment>Version Bump</Comment>
            <Requires>
                <Action package="NetworkManager">systemRestart</Action>
            </Requires>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-05-28</Date>
            <Version>1.8.0</Version>
            <Comment>Revert version</Comment>
            <Requires>
                <Action package="NetworkManager">systemRestart</Action>
            </Requires>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilnux.org</Email>
        </Update>
        <Update release="5">
            <Date>2017-03-15</Date>
            <Version>1.0.10</Version>
            <Comment>Revert version</Comment>
            <Requires>
                <Action package="NetworkManager">systemRestart</Action>
            </Requires>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilnux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-12-15</Date>
            <Version>1.0.10</Version>
            <Comment>Revert version</Comment>
            <Requires>
                <Action package="NetworkManager">systemRestart</Action>
            </Requires>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilnux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-12</Date>
            <Version>1.4.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilnux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-15</Date>
            <Version>1.0.10</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-25</Date>
            <Version>1.0.10</Version>
            <Comment>First release</Comment>
            <Requires>
                <Action package="NetworkManager">systemRestart</Action>
            </Requires>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
